package com.xin.di.uav.applet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xin.di.uav.applet.po.Dictionary;

import java.util.List;

/**
 * <p>
 * 设置字典表 服务类
 * </p>
 *
 * @author LTQ
 * @since 2023-09-04
 */
public interface IDictionaryService extends IService<Dictionary> {

    /**
     * 通过subject查询
     *
     * @param subject
     * @return
     */
    Dictionary getBySubject(String subject);

    /**
     * 通过subject查询
     * @param subject
     * @return
     */
    List<Dictionary> getListBySubject(String subject);
}
